import request from '@/utils/request'

// 获取项目的pod实例状态
export function queryK8sProjectPodStatusList(data) {
  return request({
    url: 'api/k8sPodMetricStatus/queryK8sProjectPodStatusList',
    method: 'post',
    data
  })
}

export function queryPodCpuHistoryChartInfo(data) {
  return request({
    url: 'api/k8sPodMetricStatus/queryPodCpuHistoryChartInfo',
    method: 'post',
    data
  })
}

export function queryPodMemHistoryChartInfo(data) {
  return request({
    url: 'api/k8sPodMetricStatus/queryPodMemHistoryChartInfo',
    method: 'post',
    data
  })
}

export function queryK8sCpuHistoryChartInfo(data) {
  return request({
    url: 'api/k8sPodMetricStatus/queryK8sCpuHistoryChartInfo',
    method: 'post',
    data
  })
}

export function queryK8sMemHistoryChartInfo(data) {
  return request({
    url: 'api/k8sPodMetricStatus/queryK8sMemHistoryChartInfo',
    method: 'post',
    data
  })
}

